<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="Expires" content="-1">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Pragma" content="no-cache">
    <script src="https://www.suibibk.com/js/jquery.min.js"></script>

    <div id="all">
    	
    	<button onclick="add()">下单</button>
 	</div>
 <script>
	 function add(){
  $.ajax({
            url:'http://localhost:8088/order-service/order/add',
            data:{},
            type:"GET",
            error: function() {
          	alert("网络异常，请重试");
            },
            success:function(data){
            	alert(data);
            }
     });
 }
</script>

</html>